import java.io.File;

/**
 * Created with IntelliJ IDEA.
 * Description:创建目录
 * Author: WJW
 * Date: 2024-08-20
 * Time: 15:31
 */
public class IODemo5 {
    public static void main(String[] args) {
//        File f = new File("./aaa");
//        boolean ret = f.mkdir();//创建单级目录

        File f = new File("./aaa/bbb/ccc");
        boolean ret = f.mkdirs();//创建多级目录

        System.out.println(ret);
    }
}
